import request from "@/utils/request";

export const Login = (phone, password) => {
	return request({
		url: `/login/cellphone?phone=${phone}&password=${password}`,
		method: "GET",
	});
};

export const Logout = () => {
	return request({
		url: `/Logout`,
		method: "GET",
	});
};

export const userDetail = (id) => {
	return request({
		url: `/user/detail?uid=${id}`,
		method: "GET",
	});
};

export const setSignin = () => {
	return request({
		url: `/daily_signin?type=1`,
		method: "GET",
	});
};
